package util

import (
	"errors"
)

var (
	ErrSuccess = errors.New("success")
	ErrFileNotExisted = errors.New("file is not existed")
	ErrFileCanNotRead = errors.New("file can not read")

	ErrBadHeader = errors.New("the header is bad")
	ErrInvalidVersion = errors.New("invalid socks5 version")
	ErrBadMethod = errors.New("the method is bad")
	ErrAuthResponse = errors.New("return the authority response failed")
	ErrInvalidIPv4 = errors.New("invalid ipv4 address")
	ErrInvalidHost = errors.New("invalid hostname")
	ErrIPv6NotSupported = errors.New("ipv6 is not supported")
	ErrInvalidPort = errors.New("invalid port")
	ErrDialDest = errors.New("dial to dest failed")
	ErrResponse = errors.New("return the response failed")
	ErrInvalidAtyp = errors.New("invalid atyp")
)